﻿using Zhp.SqlSugar.Entity;

namespace Zhp.SqlSugar.Trigger
{
    public interface ITriggerService<InEntity, TKey> where InEntity : BaseEntity<InEntity, TKey>, new()
    {
        public void Inserted(InEntity entity);
        public void InsertedRange(List<InEntity> entity);
        public void Updated(InEntity entity);
        public void UpdatedRange(List<InEntity> entity);
        public void Deleted(InEntity entity);
        public void DeletedRange(List<InEntity> entity);
    }
}
